<% if notice %>
<p id="notice"><%= notice %></p>
<% end %>

<h1>Your Pragmatic Catalog</h1>

<% @products.each do |product| %>
  <div class="entry">
    <%= image_tag(product.image_url) %>
    <h3><%= product.title %></h3>
    <p><%= sanitize(product.description) %></p>
    <div class="price_line">
<!-- START:currency -->
      <span class="price"><%= number_to_currency(product.price) %></span>
<!-- END:currency -->
    </div>
  </div>
<% end %>
